<template>
<<<<<<< HEAD
<<<<<<< HEAD
  <div id= "app">
    <div class="login-box">
        <div class="title">注册</div>
        <div class="line">
          <input type="text" v-model.trim= "userphone" @keyup.enter="register"  placeholder="手机号"/>    
        </div>
         <div class="line">
          <input type="password" v-model= "userpass" placeholder="密码"/>  
        </div>
          <div class="line">
          <input type="password" v-model= "userpassz" placeholder="再次输入密码"/>    
        </div>

         <div class="zhuyi">
          <van-checkbox v-model="checked" shape="square">我已阅读并同意 <span style="color:blue">《boss用户服务协议》、《隐
私政策》</span> ，并授权boss使用该账号信息以便统-管理
</van-checkbox>
         </div>


        <div class="line">
          <input  type="button" @click="register" value="注册"/>  
      </div>
      <router-link to="/wangjia">已有账号去登录</router-link>
      </div>
=======
  <div>
    wangjiaqing的页面
>>>>>>> caixia
=======
  <div>
    wangjiaqing的页面
>>>>>>> qiqi
  </div>
</template>

<script>
<<<<<<< HEAD
<<<<<<< HEAD
//  import axios from 'axios'

export default {
 
  data(){
    return{
    userphone:'',
    userpass:"",
    userpassz:"",
     checked: true,
    }
  },
  methods:{
   register () {
				this.$store.commit('getUserInfo',{
					name:this.userphone,
					pass:this.userpass,
					passz:this.userpassz,
					
				})
				alert('注册成功， 去登录吧！')
        this.$router.push({
							path:'/wangjia'
						})
			} 	


    }
 
};
</script>


<style lang="scss">
* {
  margin: 0;
  padding: 0;
}
.login-box {
  margin: 50px 20px;
}
.login-box .title {
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 50px;
}
.login-box .line {
  margin-bottom: 20px;
}
.login-box .line input {
  height: 40px;
  width: 100%;
  border: 1px solid #ccc;
  outline: none;
  padding-left: 20px;
  border-radius: 20px;
  box-sizing: border-box;
}
.zhuyi{
  font-size: 12px;
  margin: 40px 0 20px 10px;
}
</style>
=======
=======
>>>>>>> qiqi
export default {

}
</script>

<style>

<<<<<<< HEAD
</style>
>>>>>>> caixia
=======
</style>
>>>>>>> qiqi
